# -*- coding:utf-8 -*-
import re


# "简单正则"
def a():
    r = re.match('hello', 'hello world')
    print(r)
    print(r.group())


# "正则."
def b():
    r = re.match('h...o', 'hello world')
    print(r)
    print(r.group())


# "正则[],首字母任选一个进行匹配"
def c():
    r = re.match('[Hh]', 'hello world')
    print(r)
    print(r.group())


def d():
    r = re.match('[1-9a-zA-Z]', 'qhello world')
    print(r.group())














if __name__ == '__main__':
    d()
